package servidor;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
public class Servidor extends UnicastRemoteObject implements IServidor {
private static final long serialVersionUID = 1L;
private int cont = 0;
public Servidor() throws RemoteException {
super();
}
public String sayHello() throws RemoteException {
	cont++;
return "Hello World!" + cont;
}
}